#include <linux/module.h>
#include <linux/init.h>
#include <linux/platform_device.h>

static void bxlcdparam_device_release(struct device *dev)
{
	printk("bxlcdparam_device_release\n");
}

struct platform_device bxlcdparam_device =
{
	.name = "bxlcdparam",
	.id = -1,
	.dev = {
		.release = bxlcdparam_device_release,
	},
};

static int lcdparam_device_init(void)
{
	printk("bxlcdparem device init\n");

	platform_device_register(&bxlcdparam_device);
	return 0;
}

static void lcdparam_device_exit(void)
{
	platform_device_unregister(&bxlcdparam_device);
	printk("bxlcdparam_device_exit\n");
}

module_init(lcdparam_device_init);
module_exit(lcdparam_device_exit);

MODULE_AUTHOR("BX");
MODULE_LICENSE("GPL");
MODULE_VERSION("V1.0");